package com.zixuan.sina.service;

import com.zixuan.sina.entity.Comment;
import com.zixuan.sina.entity.User;
import com.zixuan.sina.entity.vo.CommentVo;
import com.zixuan.sina.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lemon
 * @since 2023-10-12
 */
public interface CommentService {

    Result listComment(Comment comment);
    List<CommentVo> listComment(String postId);

    Result add(Comment comment);

    Result delComment(String commentId);

}
